<template>
  <div>
    <h1>教师信息</h1>
    <p>姓名:{{ name }}</p>
    <p>年龄:{{ age }}</p>
    <p>薪资:{{ salary }}</p>
    <hr>
    <student></student>
  </div>
</template>


<script>

export default {
  name: "TeacherView",
  data() {
    return {
      name: 'tom',
      age: 20,
      salary: 3000
    }
  },
  methods: {},
  created() {

  }
}

</script>


<style scoped>

</style>
